﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common.Master" AutoEventWireup="true"
    CodeBehind="SingleWellSearch.aspx.cs" Inherits="Web.Views.SingleWellManage.SingleWellSearch" %>

<%@ Register TagName="SinglewellFilter" TagPrefix="x" Src="~/UserControls/SinglewellFilter.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../../Javascript/UserControls.js" type="text/javascript"></script>
    <%--<link href="../../App_Themes/NewPage/Styles/kington.css" rel="Stylesheet" type="text/css" />--%>
    <script type="text/javascript">
        function delClick() {
            return window.confirm("确定删除？");
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table id="tbMain" width="100%" border="0" runat="server">
        <tr>
            <td>
                <x:SinglewellFilter ID="xSinglewell" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                <ep:EPGridView ID="gv_SingleWellList" runat="server" Width="100%" AutoGenerateColumns="False"
                    dataSortExpression="" EnableEmptyContentRender="True" EnableModelValidation="True"
                    Goto="0" GvPageCount="0" ShowCheckBox="False" DataKeyNames="DataID" PagerSettings-Visible="false">
                    <Columns>
                        <asp:BoundField DataField="DataID" Visible="false" />
                        <%--<asp:TemplateField HeaderText="操作" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="7%">
                <ItemTemplate>
                <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("DataID") %>'  OnClick="Deleted_Click" OnClientClick="return delClick();">删除</asp:LinkButton>
                </ItemTemplate>
                </asp:TemplateField>--%>
                        <asp:BoundField HeaderText="井号" DataField="WELLCODE" HeaderStyle-Width="6%" ItemStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="6%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:HyperLinkField HeaderText="文件名" DataTextField="DataFileName" DataNavigateUrlFormatString="SingleWellView.aspx?DataID={0}"
                            DataNavigateUrlFields="DataID" HeaderStyle-Width="20%" />
                        <asp:BoundField HeaderText="施工措施" DataField="WORKMODE" HeaderStyle-Width="6%" ItemStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="6%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="开工日期" DataField="BEGINDATE" HeaderStyle-Width="6%" ItemStyle-HorizontalAlign="Center"
                            DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="6%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="完工日期" DataField="FINISHDATE" HeaderStyle-Width="6%" ItemStyle-HorizontalAlign="Center"
                            DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="6%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        
                        <asp:BoundField HeaderText="井别" DataField="WELLTYPE" HeaderStyle-Width="6%" ItemStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="6%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="开钻日期" DataField="BEGINWORKDATE" HeaderStyle-Width="6%"
                            ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="6%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="完钻日期" DataField="FINISHWORKDATE" HeaderStyle-Width="6%"
                            ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}">
                            <HeaderStyle Width="6%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField HeaderText="完钻深度" DataField="WELLDEPTH" HeaderStyle-Width="6%" ItemStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="6%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                    </Columns>
                </ep:EPGridView>
            </td>
        </tr>
        <tr>
            <td>
                <ep:AspNetPager ID="aspNetPagerSearch" Height="10px" Width="98%" CssClass="yahoo2"
                    runat="server" PageSize="10" LayoutType="Table" ShowCustomInfoSection="Right"
                    CustomInfoClass="custom" CustomInfoStyle=" clear:both;" ShowPageIndexBox="Always"
                    SubmitButtonImageUrl="../Images/go.png" ShowPageIndex="true" PageIndexBoxType="TextBox"
                    CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条"
                    OnPageChanging="aspNetPagerSearch_PageChanging"  AlwaysShow="False">
                    <%--OnPageSizeChanging="aspNetPagerSearch_PageSizeChanging"--%>
                </ep:AspNetPager>
            </td>
        </tr>
    </table>
</asp:Content>
